Get Set Modifier in c#
1923
25-Nov-2015
How to use Get Set Modifier in c# please help me
Anonymous User
25-Nov-2015The get set modifier mostly used for storing and retrieving value from the private field. The get modifier must return a value of property type where set modifier returns void. The set modifier uses an implicit parameter called value. In simple word, the get method used for retrieving value from private field whereas set method used for storing value in private variables.